projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e9c058
)
Use = not == in test.
author
robertl
<robertl>
Sat, 21 Feb 2009 18:14:26 +0000
(18:14 +0000)
committer
robertl
<robertl>
Sat, 21 Feb 2009 18:14:26 +0000
(18:14 +0000)
testw
patch
|
blob
|
history
tools/mkfilelist
patch
|
blob
|
history
tools/mkspec
patch
|
blob
|
history
diff --git
a/testw
b/testw
index d41a6ef8664077192b2c4c0fdf86b54dbe8a400e..eee5f9060dc99b04a87d3e01977a0b4613e0b966 100755
(executable)
--- a/
testw
+++ b/
testw
@@
-58,7
+58,7
@@
function STAGE_1 () # format
while read type caps format comment; do
for i in $EXCL; do
- if [ "$format" =
=
"$i" ]; then
+ if [ "$format" = "$i" ]; then
caps="------"
fi
done
@@
-97,7
+97,7
@@
function STAGE_0 ()
while read type caps format comment; do
for i in $EXCL; do
- if [ "$format" =
=
"$i" ]; then
+ if [ "$format" = "$i" ]; then
caps="------"
fi
done
diff --git
a/tools/mkfilelist
b/tools/mkfilelist
index 09c9df168398f8386ed32c96d6797bf45e1ccdf0..e7d429c2384f518a56fccaaece494ed7619b5eb9 100755
(executable)
--- a/
tools/mkfilelist
+++ b/
tools/mkfilelist
@@
-34,7
+34,7
@@
function loop()
echo "$LINE" |
(
read LEAD NAME READ
- test "x$NAME" =
=
"x" && continue
+ test "x$NAME" = "x" && continue
case $LEAD in
D)
loop "$1/$NAME/" "$2"
diff --git
a/tools/mkspec
b/tools/mkspec
index 6c620bdfadf29eb75a2109eaf30e9d28cdc46fbd..a79af5a245c22be6fc0e2f04203fedda621f6f86 100755
(executable)
--- a/
tools/mkspec
+++ b/
tools/mkspec
@@
-6,7
+6,7
@@
VERSION=$2
RELEASE=$3 # may be empty
REL=`echo $RELEASE | sed 's/^-//'`
-test "$REL" =
=
"" && REL=0
+test "$REL" = "" && REL=0
cat << EOF
Summary: GPSBabel